package inutan.match;

/**
 * 内部协议 ，维护匹配服 需要的玩家基础信息
 * 登录登录同步，玩家推出游戏销毁
 */
public class UserBaseInfo {

    private long userId;
    private String userName;
    private int sex;
    private int level;
    private int icon;

    public UserBaseInfo(long userId, String userName, int sex, int level, int icon) {
        this.userId = userId;
        this.userName = userName;
        this.sex = sex;
        this.level = level;
        this.icon = icon;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }
}
